/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package iSetting;

/**
 *
 * @author Anusit
 */
public class JobsSetting {
    
    public static final boolean enableJobs = true;
    public static final int jobOrder = 8;

    public enum LoginJob {
        Resistance(0, JobFlag.True),
        Adventurer(1, JobFlag.True),
        Cygnus(2, JobFlag.True),
        Aran(3, JobFlag.True),
        Evan(4, JobFlag.True),
        Mercedes(5, JobFlag.True),
        Demon(6, JobFlag.True),
        Phantom(7, JobFlag.True),
        DualBlade(8, JobFlag.True),
        Mihile(9, JobFlag.True),
        Luminous(10, JobFlag.True),
        Kaiser(11, JobFlag.True),
        AngelicBuster(12, JobFlag.True),
        Cannoneer(13, JobFlag.True),
        Xenon(14, JobFlag.True),
        Zero(15, JobFlag.True),
        Hayato(16, JobFlag.True),
        Kanna(17, JobFlag.True),
        Zen(18, JobFlag.True);
        private final int jobType, flag;

        private LoginJob(int jobType, JobFlag flag) {
            this.jobType = jobType;
            this.flag = flag.getFlag();
        }

        public int getJobType() {
            return jobType;
        }

        public int getFlag() {
            return flag;
        }

        public enum JobFlag {

            False(0),
            True(1);
            private final int flag;
            private JobFlag(int flag) {
                this.flag = flag;
            }

            public int getFlag() {
                return flag;
            }
        }
    }
}